#ifndef __DB_HANDLER__
#define __DB_HANDLER__

#ifdef  __cplusplus  //__cpplusplus
extern "C" {
#endif

#include "queue.h"

extern int  db_initialize();

extern void db_destroy();

extern int  db_handler(const queue_header* header, const void* data);

#ifdef  __cplusplus  //__cpplusplus
}
#endif

#endif

